package com.spa.infrastructure.service.storage;

import cn.hutool.core.lang.UUID;

public interface FileStorageService {

    String getUrl(String key);

    String getUploadToken();

    StorageType type();

    default String generateKey(String fileName) {
        return UUID.fastUUID().toString(true) + fileName;
    }

}
